import { createRouter, createWebHistory } from 'vue-router'
import DroneView from '@/views/DroneView.vue'
import TestView from '@/views/TestView.vue'
import VideoView from '@/views/VideoView.vue'
import FusionView from '@/views/FusionView.vue'
import SyncMapView from '@/views/SyncMapView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: DroneView
  },
  {
    path: '/drone',
    name: 'drone',
    component: DroneView
  },
  {
    path: '/test',
    name: 'test',
    component: TestView
  },
  {
    path: '/sync',
    name: 'sync',
    component: SyncMapView
  },
  {
    path: '/fusion',
    name: 'fusion',
    component: FusionView
  },
  {
    path: '/video',
    name: 'video',
    component: VideoView
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 